<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$muid=58;
$nums=91;
//====================
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='".$muid."' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
	
?>
</ul>
</div>


<form method="post" action="?ac=usergroup&do=save&fileurl=user" onSubmit="return usergroup_save()">
	<input type="hidden" name="savetype" value="new" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">权限组名称设置</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 名称：</td>
      <td class="TableData">
        <input type="text" name="groupname" class="BigInput" size="40" /><div id="tip"></div>
      </td>
    </tr>
	
	<?php
	//读取顶级目录
	$query = $db->query("SELECT * FROM ".DB_TABLEPRE."keytable where fatherid='0' ORDER BY number Asc");
	while ($row = $db->fetch_array($query)) {
	?>
      <tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;<?=$row["name"]?></b></td>
    </tr>
	
	<?=get_keytable_list($row["id"],0)?>

<?php
}
?>

    
 
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">
        <input type="submit" value="保存信息" class="BigButton">
      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
